import { createApp } from 'vue';

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import Vue3TouchEvent from 'vue3-touch-events';

import App from './App';
import store from './store';
import router from './router';

import '@/assets/styles/global.scss';

const app = createApp(App);

app.use(ElementPlus, { 
    locale: zhCn,
    size: 'default'
});

app.use(router);
app.use(store);

app.use(Vue3TouchEvent);

app.mount('#app');
